#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2023/1/8 23:06
# @Author : HuangBenHao
import os

if __name__ == '__main__':
    count = 8001
    ture_anwser = []
    with open('./data/rbert_test.csv', 'r') as f:
        for i in f.readlines():
            ture_anwser.append(str(count) + '\t' + i.split('\t')[0])
            count = count + 1
    if os.path.exists('./eval/true_answer.txt'):
        os.remove('./eval/true_answer.txt')
    with open('./eval/true_answer.txt', 'a+') as f:
        for i in ture_anwser:
            f.writelines(i)
            f.writelines('\n')
